package com.deepocean.entity;

import java.time.LocalDateTime;

public class CurvedScreenInAndOut1Hour {
    private Double materialInput;
    private Double cleanCoalOutput;
    private Double impurityOutput;
    private LocalDateTime beginTime;
    private LocalDateTime endTime;

    public Double getMaterialInput() {
        return materialInput;
    }

    public void setMaterialInput(Double materialInput) {
        this.materialInput = materialInput;
    }

    public Double getCleanCoalOutput() {
        return cleanCoalOutput;
    }

    public void setCleanCoalOutput(Double cleanCoalOutput) {
        this.cleanCoalOutput = cleanCoalOutput;
    }

    public Double getImpurityOutput() {
        return impurityOutput;
    }

    public void setImpurityOutput(Double impurityOutput) {
        this.impurityOutput = impurityOutput;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
        this.beginTime = endTime.plusMinutes(-60);
    }
}
